home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
as97ppup
/
as97popu.txt
< prev
next >
Wrap
Text File
|
1998-01-05
|
4KB
|
160 lines
COMPONENT: as97Popup
RELEASE DATE: 01/05/1998
BRIEF USAGE DESCRIPTION:
------------------------
You can use this control for a variety of Office 97/98 style
operations. It can act like an IE popup button, a hyperlink
text display, an Office 97 style LED button, and any combination
of those things. The control uses very little resources but provides
all the things neccesary to make your application look and act like
a Microsoft Office 97/98 style application.
NON-STANDARD PROPERTIES:
------------------------
<-BackPicture->
This is the picture to be tiled, wallpapered or stretched in the
background of the popup button.
<-BevelWidth->
This is the thickness, in pixels, of the frame drawn around the button
when the mouse is over it.
<-ClickPointer->
This specifies the mouse pointer while the click event is firing. Saves time
writing code to switch the MousePointer to an hourglass etc. during long events.
<-ClickSound->
This is the filename and path to a *.wav file that is played when the
button is clicked.
<-CustomAutoSize->
When True, lets the control handle the sizing the CustomPicture. When False
the developer can set the Width and Height of the CustomPicture through the
CustomWidth and CustomHeight properties.
<-CustomHeight->
The height, in pixels, of the CustomPicture when CustomAutoSize is False.
<-CustomWidth->
The width, in pixels, of the CustomPicture when CustomAutoSize is False.
<-Display->
Set to either Tile, Wallpaper, or Stretch to tell the control
how to display the BackPicture.
<-HyperLink->
The URL run when the user clicks on the popup button. This can also be
a 'mailto:' address for sending e-mail.
<-Layout->
The layout of the CustomPicture and Caption in relation to each other.
<-MaskColor->
The color of the CustomPicture that is set to transparent when the BackStyle
is Transparent.
<-MouseDownColor->
The color of the Caption text while the mouse is down.
<-MouseDownPicture->
The CustomPicture while the mouse is down.
<-MouseIcon->
The cursor icon while the mouse is over the popup button.
<-MouseOverColor->
The color of the Caption text while the mouse is over the popup button.
<-MouseOverPicture->
The CustomPicture while the mouse is over the popup button.
<-UseFrame->
Boolean value used to determine whether or not to display a frame when
the mouse is over the button.
NON-STANDARD METHODS:
---------------------
<-ParentMouseMove->
Used when the popup button is transparent. Use this method in the
MouseMove event of the container of the popup button. This ensures true
transparency.
NON-STANDARD EVENTS:
--------------------
<-MouseEnter->
Fired when the mouse pointer enters the region of the popup button.
<-MouseExit->
Fired when the mouse pointer exits the region of the popup button.
STANDARD PROPERTIES:
--------------------
BackColor
BackStyle
Caption
Container
DragIcon
DragMode
DrawMode
DrawStyle
DrawWidth
Enabled
Font
ForeColor
Height
Index
Left
MousePointer
Name
Object
OLEDropMode
Parent
Tag
ToolTipText
Top
Visible
WhatsThisHelpID
Width
STANDARD METHODS:
-----------------
Drag
Move
OLEDrag
PopupMenu
ShowWhatsThis
ZOrder
STANDARD EVENTS:
----------------
Click
DragDrop
DragOver
KeyDown
KeyPress
KeyUp
MouseDown
MouseMove
MouseUp
OLECompleteDrag
OLEDragDrop
OLEDragOver
OLEGiveFeedback
OLESetData
OLEStartDrag
TECHNICAL USAGE NOTES:
----------------------
The ParentMouseMove method is the only way we've found to ensure
true transparency without utilizing massive amount of system
resources.